import 'package:flutter/material.dart';
// import '../../utils/screenAdapter.dart';

class UserAgreement extends StatelessWidget {
  const UserAgreement({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Wrap(
        crossAxisAlignment: WrapCrossAlignment.center,
        children: [
          Checkbox(
            value: true,
            onChanged: (value) {
              print("选中了${value}");
            },
          ),
          Text("我已阅读并同意",),
          Text("《商城用户协议》",style: TextStyle(color: Colors.orange),),
          Text("《商城隐私协议》",style: TextStyle(color: Colors.orange),),
          Text("《商城隐私协议》",style: TextStyle(color: Colors.orange),),
        ],
      ),
    );
  }
}
